180b2506a9d41bbe665dab3f64e11b4302dd58d1,software/webapp/src/main/java/brooklyn/entity/dns/geoscaling/GeoscalingWebClient.java,GeoscalingWebClient,deleteSmartSubdomain,#number#number#,318
Before Change
"https://{0}/{1}?module=smart_subdomains&id={2,number,#}&delete={3,number,#}",
HOST, PATH, primaryDomainId, smartSubdomainId);
HttpResponse response = httpClient.execute(new HttpGet(url));
if (response.getEntity() != null)
EntityUtils.consume(response.getEntity());
} catch (Exception e) {
throw new RuntimeException("Failed to delete GeoScaling smart subdomain: "+e, e);
After Change
"https://{0}/{1}?module=smart_subdomains&id={2,number,#}&delete={3,number,#}",
HOST, PATH, primaryDomainId, smartSubdomainId);
sendRequest(new HttpGet(url), true);
} catch (Exception e) {
throw new RuntimeException("Failed to delete GeoScaling smart subdomain: "+e, e);